<?php
/**
 * SocialEngine
 *
 * @category   Application_Core
 * @package    Translator
 * @copyright  Copyright 2008-2011 NewroSoftMods and TaurusSoft
 * @license    http://www.socialengine.net/license/
 * @author     Bezugliy Sergey
 */
return array(
    array(
        'title' => 'Microsoft Translator',
        'description' => 'Integrates Text translation into your site',
        'category' => 'Translation Plugin (Wigetized)',
        'type' => 'widget',
        'name' => 'translator.translator-microsoft',
        'autoEdit' => true,
        'requirements' => array(
            'no-subject',
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Text',
                    'title',
                    array(
                        'label' => 'Title',
                        'value' => 'Translator'
                    )
                ),
                array(
                    'Text',
                    'appid',
                    array(
                        'label' => 'Microsoft AppId'
                    )
                ),
                array(
                    'Radio',
                    'islogin',
                    array(
                        'label' => 'Display for not logged in user',
                        'multiOptions' => array(
                            '1' => 'Yes',
                            '0' => 'No'
                        ),
                        'value' => '1'
                    )
                )
            )
        )
    ),
    array(
        'title' => 'Google Translate',
        'description' => 'Translates entire site to different languages',
        'category' => 'Translation Plugin (Wigetized)',
        'type' => 'widget',
        'name' => 'translator.translator-google-global',
        'autoEdit' => true,
        'requirements' => array(
            'no-subject',
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Hidden',
                    'title'
                ),
                array(
                    'Radio',
                    'isuserlogin',
                    array(
                        'label' => 'Display for not logged in user',
                        'multiOptions' => array(
                            '1' => 'Yes',
                            '0' => 'No'
                        ),
                        'value' => '1'
                    )
                )
            )
        )
    )
);